package com.wdz.service.impl;

import com.wdz.article_comment.entity.ArticleComment;
import com.wdz.article_comment.mapper.ArticleCommentMapper;
import com.wdz.service.IRemarkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RemarkServiceImpl implements IRemarkService {
    @Resource
    private ArticleCommentMapper articleCommentMapper;



    @Override
    public List<ArticleComment> pageRemarks(Integer pageNo, Integer pageSize) {
        return articleCommentMapper.getHasReplysComments3((pageNo-1)*pageSize, pageSize);
    }


}
